Fix regression in QPointF::operator==
authorAllan Sandfeld Jensen <allan.jensen@qt.io>
Mon, 9 Jul 2018 13:30:49 +0000 (15:30 +0200)
committerLisandro Damián Nicanor Pérez Meyer <lisandro@debian.org>
Tue, 25 Sep 2018 21:26:54 +0000 (22:26 +0100)
commitddd78dc3936ee345efadff588d94e508829a7206
tree1d0a85b45f3d89b2d57b22945a4fd5d66ab671c8
parent4986631db58d96c10837cb21f55819671bf2c678
Fix regression in QPointF::operator==

Handle hard zero independently in each coordinate, otherwise hard zero
is never equal to anything but itself.

Task-number: QTBUG-69368
Change-Id: I8b1131472bb92efc706a04e0b067e2211a5ccb0c
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Gbp-Pq: Name fix_regresion_in_QPointF_operator_equals.patch
src/corelib/tools/qpoint.h
tests/auto/corelib/tools/qpointf/tst_qpointf.cpp